package com.youdianda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.youdianda.entity.YddArticle;
import com.youdianda.result.Result;

public interface UserMyArticleService extends IService<YddArticle> {

    /**
     * 修改文章
     * @return
     */

    public Result updateArticle(YddArticle yddArticle);


    /**
     * 发布文章
     * @param yddArticle
     * @return
     */

    public Result addArticle(YddArticle yddArticle);

    /**
     * 删除我的文章
     * @return
     */
    public Result deleteArticle(Integer id);
}
